home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / BARNET / FREENET / DEVOS / FDSOURCE.ARC / h / error < prev    next >
Text File  |  1996-01-29  |  559b  |  30 lines

  1. /* error.h
  2.  * Prototypes for error handling and diagnostics functions
  3.  */
  4.  
  5. #include <stdarg.h>
  6.  
  7. #include "OS:wimp.h"
  8.  
  9.  
  10. extern int line_no;
  11.  
  12. /* Auto */
  13.  
  14. extern bool errbox(os_error *error, bool cancel)
  15. /* Pop up an error box
  16.  * IN  msg = error text
  17.  *     cancel = if !0 then make 'Cancel' button, otherwise only 'OK'
  18.  * OUT TRUE if user clicked 'OK' button
  19.  */
  20. ;
  21. extern void complain(char *s, ...)
  22. ;
  23. extern bool confirm(char *s, ...)
  24. ;
  25. extern void handler(int sig)
  26. /* Error handling procedure
  27.  * Reports error, and quits program if user clicks 'Cancel'
  28.  */
  29. ;
  30.